﻿#pragma once
#include "GameState.h"

class GameRenderer {
public:
    explicit GameRenderer(const GameState& state) : gameState(state) {}

    // 绘制整个游戏界面
    void render();

private:
    const GameState& gameState;

    // 绘制棋盘格线
    void drawBoard() const;

    // 根据 boardData 绘制棋子
    void drawPieces();

    // 绘制底部提示文字
    void drawTipText();
}; 